package cn.edu.zpark.security.springmvc.service;

import cn.edu.zpark.security.springmvc.model.AuthenticationRequest;
import cn.edu.zpark.security.springmvc.model.UserDto;

/**
 * @PackageName: cn.edu.zpark.security.springmvc.service
 * @ClassName: AuthenticationService
 * @Description: 认证服务接口
 * @author: RZS
 * @date: 2021/7/20  15:01
 */
public interface AuthenticationService {
    /**
     * 用户认证
     * @param authenticationRequest 用户认证请求
     * @return 认证成功的用户信息
     */
    UserDto authentication(AuthenticationRequest authenticationRequest);
}
